Eclipse with Maven
From Documentation
Setting up on Eclipse
Here describes how to set up Maven on Eclipse
Prerequirement
- JAVA SDK :
- Java 5 or above is required to run Eclipse and Embedded Maven (you can still use any Java version as default in Eclipse and run external Maven using Java versions required by Maven)
- Make sure Eclipse is running on JDK and not on JRE
Eclipse Related
- Eclipse : 3.6 or later
- Go to Eclipse Downloads
- Choose Eclipse IDE for Java EE Developers (It included WTP)
- Eclipse Plugin, which can be installed by using the Eclipse Update Manager. The Eclipse Update Manager can be found by selecting Install New Software... from the Help menu. Then, click Add... to add the URL as a new update site.
- M2eclipse[1]:
- Update Site :
- Eclipse 3.6.* and 3.7.*: http://download.eclipse.org/technology/m2e/releases (Recommend)
- Eclipse 3.5.* and 3.6.*: http://m2eclipse.sonatype.org/sites/m2e (Please note: This version includes a Maven Archetype Bug. Therefore it is suggested to download and install a "newer" version of M2eclipse plugin to avoid this unresolved error.)
- Update Site :
- (Optional but recommend) Run-Jetty-Run
- Update Site : http://run-jetty-run.googlecode.com/svn/trunk/updatesite/
- An amazing plug-in which enables you to run web applications in Eclipse using its embedded Jetty distribution. You will enjoy the awesome redeploy speed.
- Installation and usage documentation Run-Jetty-Run - Getting Started
- (Optional) M2eclipse Extra[2]
- Update Site : http://m2eclipse.sonatype.org/sites/m2e-extras
- (Optional) Eclipse IAM, formerly Q for Eclipse:
- Eclipse Integration for Apache Maven
- Q4e on Google Code
- (Optional) Subeclipse
- Get the latest subclipse plug-in as per plug-in instructions here (use this http://subclipse.tigris.org/update_1.6.x)
- Note: For 64-bit Windows & 64-bit Eclipse installation you will need to install Silksvn client download to avoid JavaHL binding error.
- M2eclipse[1]:
- ↑
Official installation step
- Eclipse 3.6.* and 3.7.*: http://eclipse.org/m2e/download/
- Eclipse 3.5.* and 3.6.*: http://m2eclipse.sonatype.org/installing-m2eclipse.html
- ↑ This plugin should be installed when you use WTP as your development server.
Version History
Version | Date | Content |
---|---|---|